using System;
using System.IO;

namespace CGMSharp
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	public class CGMSharp
	{
		public CGMSharp()
		{
		}

		public CGMSharp(string fileName)
		{
			FileStream s = new FileStream(fileName,FileMode.Open);
			FileStream o = new FileStream("C:/test.cgm",FileMode.OpenOrCreate);

			Command c;

			while(s.Position<s.Length-1)
			{
				c = new Command(s);
                c.WriteRecord(o);
			}
            s.Close();
			o.Close();
		}

		public CGMSharp(Stream s)
		{

		}

		public bool Write(string fileName)
		{
		   return false;
		}

		public bool Write(Stream s)
		{
		   return false;
		}

		
	}
}
